﻿<phone:PhoneApplicationPage 
    x:Class="RemoteControl.Views.AboutView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True" Style="{StaticResource TransitionPageStyle}">
	<phone:PhoneApplicationPage.Resources>	
		<SolidColorBrush x:Key="linkBrush" Color="#FF009CFF"/>	
	</phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="{Binding Path=AppName, Source={StaticResource LocalizedStrings}}" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="{Binding Path=About, Source={StaticResource LocalizedStrings}}" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="0.132*"/>
        		<RowDefinition Height="0.868*"/>
        	</Grid.RowDefinitions>
			<Grid Width="62" Margin="0,8,0,10" HorizontalAlignment="Left" Background="#FF009BF1">
        		<Image HorizontalAlignment="Left"  Source="/ApplicationIcon.png" Stretch="Fill" />
			</Grid>
            <TextBlock Margin="81,21,51,10" TextWrapping="Wrap" Text="{Binding Path=AppName, Source={StaticResource LocalizedStrings}}" FontFamily="Segoe WP Black" FontSize="26.667"/>
        	<StackPanel Grid.Row="1">
                <TextBlock Height="36">RemoteControl Application 1.0(bulid 9981)</TextBlock>	
				<StackPanel Orientation="Horizontal">
					<TextBlock Text="Copyright © "/>
                    <HyperlinkButton Content="Kiminozo" NavigateUri="http://www.cnblogs.com/kiminozo/" FontSize="20"  TargetName="_blank"/>
					<TextBlock Text="2012" />
				</StackPanel>
                <TextBlock Height="61" TextWrapping="Wrap" Text="{Binding Path=ForString, Source={StaticResource LocalizedStrings}}" Margin="0,10,0,0"/>
                <TextBlock Height="86" TextWrapping="Wrap" Text="{Binding Path=AboutString, Source={StaticResource LocalizedStrings}}" />
                <TextBlock Height="68" TextWrapping="Wrap" Text="{Binding Path=UseString, Source={StaticResource LocalizedStrings}}"/>
                <TextBlock Height="58" TextWrapping="Wrap" Text="{Binding Path=DownString, Source={StaticResource LocalizedStrings}}" />
                <HyperlinkButton Height="52" HorizontalAlignment="Left" FontSize="18.667" Foreground="{StaticResource linkBrush}"  TargetName="_blank" NavigateUri="http://virtualkeyboard.codeplex.com/releases" Content="http://virtualkeyboard.codeplex.com/releases" />
                <TextBlock Height="79" TextWrapping="Wrap" Text="{Binding Path=ThanksString, Source={StaticResource LocalizedStrings}}" />
                <HyperlinkButton Content="{Binding Path=Discussions, Source={StaticResource LocalizedStrings}}" NavigateUri="http://virtualkeyboard.codeplex.com/discussions" HorizontalAlignment="Left" Foreground="{StaticResource linkBrush}" FontSize="18.667" TargetName="_blank"/>
			</StackPanel></Grid>
    </Grid> 
</phone:PhoneApplicationPage>
